<?php
/**
 * 
 */
class IndexController extends Zendvn_Controller_Action {
	public function init(){
		//$this->_arrParam = $this->_request->getParams();
        /* Initialize action controller here */
       	$template_path = TEMPLATE_PATH . "/backend";
		$this->loadTemplate($template_path,'template.ini','template');
	}
	public function indexAction(){
		
	}
	
	public function noAccessAction(){
		$this->view->Title = 'No Access';
		$this->view->headTitle($this->view->Title,true);
		$error[] = "You don't have authority.";
		$this->view->messageError =$error;
		$this->_helper->viewRenderer('error');
	}
	
	public function errorAction(){
		$this->view->Title ='Message : Error';
		$this->view->headTitle($this->view->title,true);
		$error = 'Error System.';
		$this->view->messageError=$error;
	}
}

?>